package com.ctshk.rpc.scenic.service;


import com.ctshk.common.dto.Result;
import com.ctshk.common.model.PageResponse;
import com.ctshk.common.model.TokenUser;
import com.ctshk.rpc.scenic.dto.ScenicResourceDTO;
import com.ctshk.rpc.scenic.dto.ScenicResourceDetailDTO;
import com.ctshk.rpc.scenic.req.*;


/**
 * <p>
 * 门票产品 服务类
 * </p>
 *
 * @author wangcy
 * @since 2021-02-02
 */
public interface IScenicResourceService {

    PageResponse<ScenicResourceDTO> queryList(ScenicResourceReq scenicResourceReq,TokenUser tokenUser);

    Result<Long> updateSaleStatus(ScenicResourceSaleReq scenicResourceSaleReq, TokenUser tokenUser);

    Result<String> submit(ScenicProductSubmitReq scenicProductSubmitReq,TokenUser tokenUser);

    Result<Long> check(ScenicProductCheckReq scenicProductCheckReq,TokenUser tokenUser);

    Result<Long> updateApi(ScenicResourceApiReq resourceApiReq);

    Result<Long> save(ScenicResourceProductReq resourceProductReq,TokenUser tokenUser);

    Result<ScenicResourceDetailDTO> detail (Long id,TokenUser currentUser);

    Result<Long> modify(ScenicResourceProductReq resourceProductReq,TokenUser user);

    Result<Long> saveAgen(ScenicProductSaveReq scenicProductSaveReq);
    /**
     * 查询门票详情
     */
    ScenicResourceDetailDTO quertByProductId(String productId);
}
